import os

APPID = "2021000117613515"
# print(APPID)
PRIVATE_KEY_PATH = os.path.join(os.path.dirname(__file__), 'pem', 'private_key.pem')
PUBLIC_KEY = os.path.join(os.path.dirname(__file__), 'pem', 'al_public_key')

APP_PRIVATE_KEY_STRING = open(PRIVATE_KEY_PATH).read()
ALIPAY_PUBLIC_KEY_STRING = open(PUBLIC_KEY).read()

# print(APP_PRIVATE_KEY_STRING)



SIGN_TYPE = "RSA2"
DEBUG = False

ALIPAY_GATEWAL_URL = 'https://openapi.alipay.com/gateway.do?' if DEBUG else 'https://openapi.alipaydev.com/gateway.do?'
# print('alipay_gatewal_url'.upper())
